{extend name="common/base" /}
{block name='title'}会员详情{/block}

{block name="body"}
   <article class="Hui-admin-content clearfix">

        <div class="panel">
            <div class="panel-body"发布>
                <p>当前时间：{php}echo date("Y-m-d H:i:s"){/php}</p>
                <table class="table table-border table-bordered table-bg mt-20">
                    <thead>
                        <tr>
                            <th colspan="8" scope="col">账号信息</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <th>账号</th>
                            <td>{$data.user_name}</td>
                            <td>上级</td>
                            <td>{$data.paname}</td>
                            <td>会员等级</td>
                            <td>{$data.level_name}</td>
                            <td>ID</td>
                            <td>
                                {$data.unique}
                            </td>
                        </tr>
                        <tr>
                            <td>余额</td>
                            <td>{$data.balance}</td>
                            <td>金币</td>
                            <td>{$data.gold}</td>
                            <td>二维码</td>
                            <td><img src="{$data.qrcode}" height="100"></td>
                            <td>优质客户</td>
                            <td>
                                {if $data.is_premium == 1}是{elseif $data.is_premium == -1 /}否{/if}
                            </td>
                        </tr>
                        <tr>
                            <td>新用户</td>
                            <td>
                                {if $data.is_new == 1}
                                    是
                                {elseif $data.is_new == -1 /}
                                    否
                                {/if}
                            </td>
                            <td>实名认证</td>
                            <td>
                                {if $data.is_real_name == 1}
                                    是
                                {elseif $data.is_real_name == -1 /}
                                    否
                                {/if}
                            </td>
                            
                            <td>状态</td>
                            <td>
                                {if $data.status == 1}
                                    正常
                                {elseif $data.status == -1 /}
                                    冻结
                                {/if}
                            </td>
                            <td>绑定支付宝</td>
                            <td>
                                {if $data.is_ali == 1}
                                    是
                                {elseif $data.is_ali == -1 /}
                                    否
                                {/if}
                            </td>
             

                        </tr>
                        <tr>
                            <td>支付宝账号</td>
                            <td>{$data.ali_account}</td>
                            <td>支付宝姓名</td>
                            <td>{$data.ali_name}</td>
                            <td>注册</td>
                            <td>{$data.created|date="Y-m-d H:i:s"}</td>
                            <td>最后登陆时间</td>
                            <td>{$data.last_login_time|date="Y-m-d H:i:s"}</td>
                        </tr>
                        <tr>
                            <td>徒弟总数</td>
                            <td>{$data.apprentice_num}</td>
                            <td>今日收徒收益</td>
                            <td>{$data.apprentice_return_commission_balance_today}</td>
                            <td>收徒总收益</td>
                            <td>{$data.apprentice_return_commission_balance}</td>
                            <td>登录次数</td>
                            <td>{$data.login_num}</td>
                        </tr>
                        <tr>
                            <td>今日登陆次数</td>
                            <td>{$data.login_num_today}</td>
                           
                            <td>连续登陆天数</td>
                            <td>{$data.login_continuity_num}</td>
                            <td>签到次数</td>
                            <td>{$data.sign_num}</td>
                            <td>7天签到次数</td>
                            <td>{$data.sign_continuity_seven_num}</td>
                        </tr>
                        <tr>
                            
                            <td>连续签到天数</td>
                            <td>{$data.sign_continuity_num}</td>
                            <td>最后签到时间</td>
                            <td>{$data.last_sign_time|date="Y-m-d H:i:s"}</td>
                            <td>完成任务数</td>
                            <td>{$data.finish_task_num}</td>
                            <td>完成任务收益</td>
                            <td >{$data.finish_task_balance}</td>
                        </tr>
                        <tr>
                            <td>提现金额</td>
                            <td>{$data.withdraw_balance}</td>
                            <td>兑换金额</td>
                            <td>{$data.exchange_balance}</td>
                            <td>兑换金币数</td>
                            <td>{$data.exchange_gold}</td>
                            <td>每日转盘次数</td>
                            <td>{$data.onday_turntable_num}</td>
                        </tr>
                        <tr>
                            <td>余额总收益</td>
                            <td>{$data.total_balance}</td>
                            <td>金币总收益</td>
                            <td colspan="5">{$data.total_gold}</td>
                            
                        </tr>
                        
                        
                    </tbody>
                </table>
                
                <table class="table table-border table-bordered table-bg mt-20">
                    <thead>
                        <tr>
                            <th colspan="8" scope="col">个人资料</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>昵称</td>
                            <td>{$data.nick_name}</td>
                            <td>性别</td>
                            <td>{if $data.sex == 1}男{else }女{/if}</td>
                            <td>头像</td>
                            <td><img src="{$data.image}" height="100"></td>
                            <td>地址</td>
                            <td>{$data.address}</td>
                        </tr>
                        <tr>
                            <td>生日</td>
                            <td>{$data.birthday}</td>
                            
                            <td>真实姓名</td>
                            <td colspan="5">{$data.real_name}</td>
                        </tr>
                        
                    </tbody>
                </table>
                
                
            </div>
        </div>
    </article>
<input name="taskStep" type="hidden" value="{:url('task_step/index')}">
<input name="taskSubmit" type="hidden" value="{:url('submit/index')}">
{/block}

{block name="js"}
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="__LIB__/jquery.validation/1.14.0/jquery.validate.js"></script>
<script type="text/javascript" src="__LIB__/jquery.validation/1.14.0/validate-methods.js"></script>
<script type="text/javascript" src="__LIB__/jquery.validation/1.14.0/messages_zh.js"></script>
<script type="text/javascript" src="__LIB__/webuploader/0.1.5/webuploader.min.js"></script>
<script type="text/javascript" src="__LIB__/ueditor/1.4.3/ueditor.config.js"></script>
<script type="text/javascript" src="__LIB__/ueditor/1.4.3/ueditor.all.min.js"> </script>
<script type="text/javascript" src="__LIB__/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="__JS__/main.js"></script>
<script type="text/javascript" src="__JS__/task.js"></script>
<!--/请在上方写此页面业务相关的脚本-->
{/block}